package com.ns002.yigou.quote.web;

import com.ns002.yigou.quote.json.JSONResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author xu
 * @Date 2017/8/3 0003 下午 7:12
 * 用于健康检查
 */
@RestController
@RequestMapping(value = "/")
public class ContextController {
    @GetMapping("")
    public JSONResult check(){
        return JSONResult.createSuccessResult();
    }

}
